﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HZ.Supervise.Model
{
    /// <summary>
    /// 实体类
    /// </summary>
    [Serializable()]
    [HZ.Table(TableName = "TB_Message")]
    public class Message
    {
        /// <summary>
        /// 消息ID:消息ID
        /// </summary>
        [HZ.Column(PrimaryKey = true)]
        public string MessageID { get; set; }
        /// <summary>
        /// 发信人:发信人
        /// </summary>
        public string Sender { get; set; }
        /// <summary>
        /// 收信人:收信人
        /// </summary>
        public string Reciever { get; set; }
        /// <summary>
        /// 标题:标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 内容:内容
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 发信时间:发信时间
        /// </summary>
        public System.DateTime? SendTime { get; set; }
        /// <summary>
        /// 是否回复:0未读 1已读 2回复
        /// </summary>
        public int? Status { get; set; }

        /// <summary>
        /// 标志：0发件1收件
        /// </summary>
        public int? flag { get; set; }

        /// <summary>
        /// 是否公开：1公开，其他不公开
        /// </summary>
        public int? IsPublic { get; set; }


        public string Name { get; set; }
        public string CreatTime { get; set; }
        public string AreaName { get; set; }
        public string HospitalName { get; set; }
        public string UserId { get; set; }
        public string CompanyName_Jy { get; set; }
        public string ProductName { get; set; }
        public string TypeId { get; set; }
        public string Id { get; set; }  
    }
}
